package org.soaism.testserver.service.rest;

import javax.ws.rs.*;
import org.soaism.testserver.service.entities.*;

@Path("/journeyservice")
public interface IJourneyService {

	@GET
	@Path("journey/log/{id}")
	@Produces("application/json")
	public GetLogResponse getJourney(@PathParam("id") int id);

	@POST
	@Path("journey/log")
	@Produces("application/json")
	@Consumes("application/json")
	public NewLogResponse postJourney(Journey journey);

	@PUT
	@Path("journey/log/{id}")
	@Produces("application/json")
	public ChangeLogResponse putJourney(@PathParam("id") int id, Journey journey);

	@DELETE
	@Path("journey/log/{id}")
	@Produces("application/json")
	public DeleteLogResponse

	deleteJourney(@PathParam("id") String id);

}
